/***********************************************************************
 *
 * MODULE NAME:    sdp_callbacks.h
 * PROJECT CODE:   host side stack
 * DESCRIPTION:    Service Discovery 
 * MAINTAINER:     Mark Donnelly
 *
 * SOURCE CONTROL: $Id: sdp_callbacks.h,v 1.1.1.1 2007/12/18 05:32:40 tianwq Exp $
 *
 * LICENSE:
 *     This source code is copyright (c) 2000 RDA Microelectronics
 *     All rights reserved.
 *
 * REVISION HISTORY:
 * 
 *
 * ISSUES:
 * 
 ***********************************************************************/

#ifndef SDP_CALLBACKS
#define SDP_CALLBACKS

#include "host_config.h"

#include "sdp_stack_access.h"

void rdabt_sdp_l2cap_connect_ind_cb(u_int32 type,t_L2_ControlCallbackArgs *pArgs);

#if RDABT_L2CAP_AUTO_CONFIG==0
void rdabt_sdp_l2cap_connect_cfm_cb(u_int32 type, t_L2_ControlCallbackArgs *pArgs);
void rdabt_sdp_l2cap_config_ind_cb(u_int32 type,t_L2_ControlCallbackArgs *pArgs);
void rdabt_sdp_l2cap_config_cfm_cb(u_int32 type,t_L2_ControlCallbackArgs *pArgs);
#else
void rdabt_sdp_l2cap_connect_configured_cfm_cb(u_int32 type, t_L2_ControlCallbackArgs *pArgs);
#endif

void rdabt_sdp_l2cap_disconnect_ind_cb(u_int32 type,t_L2_ControlCallbackArgs *pArgs);

void rdabt_sdp_l2cap_disconnect_cfm_cb(u_int32 type,t_L2_ControlCallbackArgs *pArgs);


void rdabt_sdp_l2cap_data_ind_cb(u_int16 cid,u_int8 is_server,rdabt_host_buf_t * p_buf);
#if SDP_SDAP

void rdabt_sdp_manager_name_cb(t_bdaddr address, t_api status);
/* void rdabt_sdp_manager_name_cb(tid_t transactionId, error_t status); */
#endif
#endif
